package java19_1_4.sharp;

/**
 * @author yuisama
 * @date 2022/01/06 21:13
 **/

public class Test {
    public static void main(String[] args) {
        fun(new Cycle());
        fun(new Rect());
        fun(new Flower());
//        fun(new Triangle());
    }
    // 使用者
    public static void fun(Sharp sharp) {
        sharp.print();
    }
}